<div class="container" @myInsertRemoveTrigger *ngIf="change" [hidden]="!hide" draggable="true">
  <div class="top">
    <div><i></i><label>员工录入</label></div>
    <span class="spanOne" (click)="close()"><i class="iconfont icon-guanbi"></i></span>

    <span class="spanThree" (click)="toSmall($event)"><i class="iconfont icon-suoxiao"></i></span>
  </div>


  <div class="bottom">
    <div class="content">

      <div class="task-charge">
        <label for="">姓名</label>
        <input type="text" [(ngModel)]="submit.name">
      </div>

      <div class="task-classify">
        <label for="">部门</label>
        <select [(ngModel)]="submit.deptId">
          <option *ngFor="let item of val" value="{{item.code}}">{{item.name}}</option>
        </select>
      </div>
      <div class="task-charge">
        <label for="">性别</label>
        <input type="text" [(ngModel)]="submit.sex">
      </div>

      <div class="task-participant">
        <label for="">职位</label>
        <select [(ngModel)]="submit.occId">
          <option *ngFor="let items of pos" value="{{items.code}}">{{items.name}}</option>
        </select>
      </div>
      <div class="task-date">
        <label for="">生日</label>
        <input type="date" [(ngModel)]="submit.birth">
      </div>
      <div class="task-charge">
        <label for="">通信地址</label>
        <input type="text" [(ngModel)]="submit.address">
      </div>
      <div class="task-charge">
        <label for="">E-mail</label>
        <input type="text" [(ngModel)]="submit.email">
      </div>
      <div class="task-keyword">
        <label for="">手机</label>
        <input type="text" [(ngModel)]="submit.phone">
      </div>

      <div class="task-time">
        <label for="">基本工资</label>
        <input type="text" [(ngModel)]="submit.salary">
      </div>

    </div>
    <div class="btn">
      <button (click)="save()">保存</button>
      <button (click)="back()">返回</button>
    </div>
  </div>
</div>
